home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / -archivi / -recent2 / gaplib.lha / GAPLib_Beta / Makefile < prev    next >
Makefile  |  1999-03-13  |  1KB  |  54 lines

  1.  
  2. .PHONY:
  3.     @echo
  4.  
  5. default: .PHONY
  6.     @echo " "
  7.     @echo "GAP-Lib (C)1998-1999 Peter Bengtsson"
  8.     @echo " "
  9.     @echo "Target must be one of:"
  10.     @echo " "
  11.     @echo "  examples   - Compile examples (gcc/egcs)."
  12.     @echo "  amigaex    - Compile examples with Amiga SAS/C."
  13.     @echo " "
  14.     @echo "  wizards    - Source wizards (gcc/egcs)."
  15.     @echo " "
  16.     @echo "  check      - Check MD5 checksums for files."
  17.     @echo " "
  18.     
  19. wizards: .PHONY
  20.     gmake -C wizards -f Makefile all
  21.  
  22. examples: .PHONY
  23.     gmake -C examples -f Makefile all
  24.  
  25. amigaex: .PHONY
  26.     @execute Amiga.sh examples all
  27.  
  28. check: .PHONY
  29.     md5sum -c Checksums
  30.  
  31. #
  32. # Maintainance only.
  33. #
  34.  
  35. checksums: .PHONY
  36.     @echo "Rebuilding checksums..."
  37.     @delete Checksums\#\?
  38.     @list \#\? all files \>t:check lformat\=\"md5sum \%p\%n\ \>\>Checksums\"
  39.     @echo \>Checksums \"\# MD5 Checksums.\"
  40.     @execute t:check
  41.     pgp -sb Checksums peter
  42.     
  43. docs: .PHONY
  44.     @echo "Rebuilding documentation from autodoc."
  45.     @-delete doc/html/GAP\.html
  46.     @-delete doc/amigaguide/GAP\.guide
  47.     echo >build.tmp "GAP-Lib Function Reference*NGAP.html*N1"
  48.     autodoc2x doc/text/GAP.doc \<build.tmp \>Nil\:
  49.     @rename GAP.html doc/html/ \>Nil\:
  50.     echo >build.tmp "GAP-Lib Function Reference*NGAP.guide*N2"
  51.     autodoc2x doc/text/GAP.doc \<build.tmp \>Nil\:
  52.     @rename GAP.guide doc/amigaguide/ \>Nil\:
  53.     @-delete build.tmp \>Nil\:
  54.